package com.zhangwei.fresco.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: ${todo}
 * @ProjectName: LiWuShuo
 * @Package: com.zhangwei.liwushuo.bean
 * @ClassName: Category
 * @author: zhangwei
 * @date: 2015-08-28 10:33
 * @version: v1.0
 *
 *
 */
public class Category implements Serializable {
    /**
     * id : 1
     * order : 11
     * status : 0
     * name : 热门分类
     * icon_url : http://img01.liwushuo.com/image/150615/3nc5tejwl.png-pw144
     * subcategories : [{"id":7,"items_count":-73,"order":7,"status":0,"name":"智能设备","icon_url":"http://img03.liwushuo.com/image/150615/urgs9vy8a.png-pw144","parent_id":1},{"id":6,"items_count":-247,"order":6,"status":0,"name":"鲜花蛋糕","icon_url":"http://img02.liwushuo.com/image/150615/d4dhjw1we.png-pw144","parent_id":1},{"id":5,"items_count":-97,"order":5,"status":0,"name":"书 ","icon_url":"http://img01.liwushuo.com/image/150626/itxjlg4jh.png-pw144","parent_id":1},{"id":4,"items_count":-100,"order":4,"status":0,"name":"模型拼图","icon_url":"http://img03.liwushuo.com/image/150615/12vqbzrkq.png-pw144","parent_id":1},{"id":3,"items_count":-75,"order":3,"status":0,"name":"毛绒公仔","icon_url":"http://img02.liwushuo.com/image/150312/xdjtcaanm.png-pw144","parent_id":1},{"id":2,"items_count":-133,"order":2,"status":0,"name":"动漫/明星周边","icon_url":"http://img03.liwushuo.com/image/150615/dsu66u5k2.png-pw144","parent_id":1},{"id":1,"items_count":-333,"order":1,"status":0,"name":"创意礼品","icon_url":"http://img01.liwushuo.com/image/150615/v65bdnets.png-pw144","parent_id":1}]
     */
    private int id;
    private int order;
    private int status;
    private String name;
    private String icon_url;
    private List<Subcategory> subcategories;

    public void setId(int id) {
        this.id = id;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setIcon_url(String icon_url) {
        this.icon_url = icon_url;
    }


    public int getId() {
        return id;
    }

    public int getOrder() {
        return order;
    }

    public int getStatus() {
        return status;
    }

    public String getName() {
        return name;
    }

    public String getIcon_url() {
        return icon_url;
    }

    public List<Subcategory> getSubcategories() {
        return subcategories;
    }

    public void setSubcategories(List<Subcategory> subcategories) {
        this.subcategories = subcategories;
    }
}
